<?php	

	include("../inc/joomlaInt_admin.php");
	include("../inc/inc_configuration.php");
	
if ($jUser==0)
{
	echo "Bitte zuerst einloggen!";
}
else
{
	
	$q="SELECT gid FROM $tbl_users WHERE id=$jUser";
					$qe=mysql_query($q);
					$qeo=mysql_fetch_object($qe);
					
					$gid=$qeo->gid;
					
					if ($gid!=$admingroup)
					{
						echo "Du bist kein Admin!";
						break;
					}
					
	$id=$_GET["id"];
		
	$q = "DELETE FROM $tbl_lt WHERE id=$id";
				
	$qe = mysql_query($q);
	
	echo 'Sie werden weitergeleitet... <meta http-equiv="refresh" content="0; URL=liga.php?liga=',$liga,'">   ';
}	


?>